package cn.edu.lingnan.service.user;

import cn.edu.lingnan.bean.User;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

import javax.persistence.Id;


public interface UserService {

    /**
     * 1、方法命名凡是进行绑定查询
     * @param userName
     * @param passWord
     * @return
     */
    User login(String userName, String passWord);

    User saveUser(User user);

    User findUserById(Integer id);





}

